<template>
  <div class="top">
    <p>这个是Right组件内容</p>
    <p>Right组件X坐标:{{ left }} px</p>
    <p>Right组件Y坐标:{{ right }} px</p>
  </div>
</template>

<script>
import clickPoint from "../mixins";
export default {
  name: "Right",
  mixins: [clickPoint],
};
</script>

<style>
.top {
  background-color: cyan;
  width: 400px;
  height: 400px;
}
</style>